import React from 'react'
import store from '../redux/store'
import useRedux from '../react-redux'
export default function Msg() {
  useRedux()
  return (
    <div>
      <h1>Msg</h1>
      <p>{store.getState().msg}</p>
    </div>
  )
}
